package cn.colins.raft.enity;

import cn.colins.raft.rpc.domin.RpcMsgId;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;

/**
 * @Description 日志Rpc请求
 * @Author czl
 * @Version V1.0.0
 * @Since 1.0
 * @Date 2023/7/19
 */
@Builder
@Data
public class AppendEntriesCommit extends RpcMsgId implements Serializable {

    /** 需要提交的日志索引Id */
    private long commitLogId;

    /** 需要提交的日志索引 */
    private long commitLogIndex;
}
